package com.xjm_cloud_admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.google.common.hash.Hashing;
import com.xjm_cloud_admin.constant.CacheConstants;
import com.xjm_cloud_admin.constant.Constants;
import com.xjm_cloud_admin.constant.HttpStatus;
import com.xjm_cloud_admin.domain.XjmFile;
import com.xjm_cloud_admin.domain.XjmSharingFile;
import com.xjm_cloud_admin.domain.vo.req.*;
import com.xjm_cloud_admin.domain.vo.resp.FileListRespVo;
import com.xjm_cloud_admin.enums.CommonCodeEnum;
import com.xjm_cloud_admin.enums.FileStatusEnum;
import com.xjm_cloud_admin.enums.FileTypeEnum;
import com.xjm_cloud_admin.mapper.XjmFileMapper;
import com.xjm_cloud_admin.mapper.XjmSharingFileMapper;
import com.xjm_cloud_admin.redis.RedisCache;
import com.xjm_cloud_admin.service.BaseFileService;
import com.xjm_cloud_admin.service.XjmFileService;
import com.xjm_cloud_admin.service.XjmFileSharingService;
import com.xjm_cloud_admin.util.UUID;
import com.xjm_cloud_admin.util.*;
import lombok.extern.slf4j.Slf4j;
import net.coobird.thumbnailator.ThumbnailParameter;
import net.coobird.thumbnailator.Thumbnails;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
import java.util.stream.Collectors;

/**
 * 文件表(XjmFile)表服务实现类
 *
 * @author 浪漫写尽歌谱
 * @since 2024-04-24 13:16:57
 */
@Slf4j
@Service
public class XjmFileSharingServiceImpl extends ServiceImpl<XjmSharingFileMapper, XjmSharingFile> implements XjmFileSharingService {


}

